<?
switch ($_REQUEST['act']){
	case "product_category"    : include("product_category.php");break;
	case "product_category_m"  : include("product_category_m.php");break;
	case "product"             : include("product.php");break;
	case "product_m"           : include("product_m.php");break;
	case "product_special"     : include("product_special.php");break;
	case "product_special_m"   : include("product_special_m.php");break;
	case "product_new"         : include("product_new.php");break;
	case "product_new_m"       : include("product_new_m.php");break;
	case "product_sell"        : include("product_sell.php");break;
	case "product_sell_m"      : include("product_sell_m.php");break;
	//Single page ----------------------------------------------------------------------------------
	
	case "intro"               : include("content_single.php");break;
	case "intro_m"             : include("content_single_m.php");break;
	
	case "encourage"           : include("content_single.php");break;
	case "encourage_m"         : include("content_single_m.php");break;
	
	case "service"             : include("content_single.php");break;
	case "service_m"           : include("content_single_m.php");break;
	
	case "solution"            : include("content_single.php");break;
	case "solution_m"          : include("content_single_m.php");break;
	
	case "contact"             : include("content_contact.php");break;
	case "contact_m"           : include("content_contact_m.php");break;
	
	case "partner"             : include("content_single.php");break;
	case "partner_m"           : include("content_single_m.php");break;
	
	case "text"                : include("content_single.php");break;
	case "text_m"              : include("content_single_m.php");break;
	
	
	//Multi page -----------------------------------------------------------------------------------
	
	case "recruit"             : include("content_recuit.php");break;
	case "recruit_m"           : include("content_recuit_m.php");break;	
	
	case "news"                : include("content_news.php");break;
	case "news_m"              : include("content_news_m.php");break;	
		
	case "download"            : include("content_download.php");break;
	case "download_m"          : include("content_download_m.php");break;
	
	case "yahoo"               : include("content_yahoo.php");break;
	case "yahoo_m"             : include("content_yahoo_m.php");break;
	
	case "advleft"             : include("content_advleft.php");break;
	case "advleft_m"           : include("content_advleft_m.php");break;
	
	case "advright"            : include("content_advright.php");break;
	case "advright_m"          : include("content_advright_m.php");break;
	
	case "linkdemo"            : include("content_linkdemo.php");break;
	case "linkdemo_m"          : include("content_linkdemo_m.php");break;
	
	case "top"                 : include("content_top.php");break;
	case "top_m"               : include("content_top_m.php");break;
	
	
	//----------------------------------------------------------------------------------------------
	
	case "member"         : include("member.php");break;
	case "member_m"       : include("member_m.php");break;
	case "order"          : include("order.php");break;
	case "order_detail"   : include("order_detail.php");break;
	
	//----------------------------------------------------------------------------------------------
	
	case "config"         : include("config.php");break;
	case "config_m"       : include("config_m.php");break;
	case "changepass"     : include("changePassword.php");break;
	case "login"          : include("login.php");break;
	case "logout" :
		unset($_SESSION['log']);
		echo "<script>window.location='./?frame=home'</sc"."ript>";
		break;
	
	//----------------------------------------------------------------------------------------------
	
	case "home"          : include("home.php");break;
	default              : include("home.php");break;
}
?>